package net.vkits.anjiamiao.domain.repository;

import net.vkits.anjiamiao.domain.model.Feedback;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.Optional;

/**
 * Created by ethan-liu on 2017/1/5.
 */
public interface FeedbackRepository extends PagingAndSortingRepository<Feedback, Long> {
    Optional<Feedback> findByCellphone(String cellphone);
}
